package com.ljy.service;

import com.ljy.dto.GoodsDTO;
import com.ljy.dto.GoodsPageDTO;
import com.ljy.entity.Goods;
import com.ljy.result.PageResult;
import com.ljy.vo.GoodsVO;
import org.springframework.stereotype.Service;

import java.util.List;


public interface GoodsService {
    void addGoods(GoodsDTO dto);

    PageResult<GoodsVO> select(GoodsPageDTO dto);

    Goods selectById(Integer id);

    void modifyGoods(GoodsDTO dto);

    void batchDelete(List<Integer> ids);

    void changeStatus(Short status, Integer id);

}
